<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
</head>
<body>
	<span th:text="${register}" style="display:inline;color:red;"></span>
	<form action="register" th:object="${userBean}" method="post">
		<div>
			<span><label>ID</label></span> <span><input name="userId" type="text" /></span>
		</div>
		<div>
			<span><label>用户名</label></span> <span><input name="username" type="text" /></span>
		</div>
		<div>
			<span><label>密码</label></span> <span><input name="password" type="password" /></span>
		</div>
		<div>
			<span><label>确认密码</label></span> <span><input name="repassword" type="password" /></span>
		</div>
		
		<div>
			<span><input type="submit" name="userregister" value="注册" /></span>
		</div>
		<div>
			<span><input type="submit" name="backlogin" value="返回" /></span>
		</div>
	</form>
	
	<!-- <form action="backlogin" method="post">
		<button type="submit" name="backlogin">返回</button>
	</form> -->
</body>
</html>